Skip to content

docs(commands): generate blocks for app lifecycle, push, settings, and app state - #4840

Merged
thymikee merged 1 commit into
mainfrom
t3/command-blocks-rollout-c
Nov 20, 2026
Merged

thymikee merged 1 commit into
mainfrom
t3/command-blocks-rollout-c

Conversation

@thymikee

@thymikee thymikee commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the generated command block to every hand-written section from ## App install (in-place) through ## Foreground repairs on iOS, so the registry owns each command's summary, synopsis, options, aliases, and capabilities link there. Blocks are marker-only in the source: pnpm generate:command-docs renders them, and the drift guard keeps them in sync.

Commands given a block: install, reinstall, uninstall, install-from-source, push, trigger-app-event, settings, appstate, apps.

## Foreground repairs on iOS documents no command of its own; it is a workflow that reads snapshot, already blocked elsewhere, so it gets none.

No hand-written line was removed. Each bullet in these sections carries a default, limit, reason code, platform caveat, or environment variable the generated table does not state, so all of them were kept. Headings and anchors are unchanged.

Validation

Head 4660b12d44531a8f0b6128ad5ac1e5352316575f, docs-only: runtime tests do not apply, the repo guards do.

  • pnpm install --frozen-lockfile && pnpm build
  • pnpm generate:command-docs, then pnpm check:command-docs (27 passed)
  • pnpm check:doc-prose, pnpm --dir website build, pnpm check:doc-links
  • pnpm check:quick, pnpm format
  • test/repo-guards/command-doc-coverage.test.ts and test/repo-guards/runner-refusal-reason-docs.test.ts pass with no waiver added

CI validates the rest.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of 4660b12

No open findings.

Not in the reviewers' prompt (1 file)
  • website/docs/docs/commands.md: no reviewer was selected for this change

Reviewed with this repository's own Sentinel configuration (faa3c82ec103).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

This PR is ready at 4660b12, with no conflicts and all 8 of 8 checks passing, including the command-docs guards that exercise this page. Not verified here: a local run of pnpm generate:command-docs or check:command-docs, or a trace of each generated summary to its handler; CI and the registry cover both. Not blocking: the install, reinstall and uninstall blocks repeat the same five proxy-lease option rows (https://github.com/callstack/agent-device/blob/4660b12/website/docs/docs/commands.md#L790), so a follow-up issue could move them into the shared common-options table, and this can be taken or left.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 20, 2026
@thymikee
thymikee merged commit 6fb52b7 into main Nov 20, 2026
8 checks passed
@thymikee
thymikee deleted the t3/command-blocks-rollout-c branch November 20, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant